<template>
    <page-body>
        <view class="page">
            <!-- <view class="flex align-stretch benben-position-layout flex spDetails_flex_0" :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
                <view class='flex align-center justify-between flex-sub spDetails_fd0_0'>
                    <view class='flex align-center spDetails_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
                        <text class='fu-iconfont2  spDetails_fd0_0_c0_c0'>&#xE794;</text>
                    </view>
                    <view class='flex align-center spDetails_fd0_0_c0'>
                    </view>
                </view>
            </view> -->
            <!---flex布局flex布局开始-->
            <view class="flex benben-flex-layout flex-wrap align-center">
                <view style="position: relative" v-if="detail.images && detail.images.length > 0">
                    <swiper ref="benbenSwiperfd1_0" @change="bannerIndexfd1_0 = $event.detail.current" class='flex position-relative spDetails_fd1_0' previous-margin="0rpx" next-margin="0rpx" :display-multiple-items="1" :interval="5000" :duration="500" :autoplay='true' :circular='true'>

                        <template v-for='(item,key0) in detail.images'>
                            <swiper-item class='flex  spDetails_fd1_0' :key='key0'>
                                <image class='spDetails_fd1_0_c1_c0' mode="aspectFill" :src='item' @tap.stop="multiImagePreview(item,detail.images,'')"></image>
                            </swiper-item>
                        </template>

                    </swiper>
                    <view style="position: absolute" class="flex dot flex align-center justify-center spDetails_swiperDotfd1_0">
                        <template v-for="(item, index) in (detail.images.length)">
                            <view :key="index" v-if="bannerIndexfd1_0 == index" class="flex dot selected flex align-center justify-center spDetails_swiperDotSelectedfd1_0">
                            </view>
                            <view :key="index" v-else class="flex dot unselected flex align-center justify-center spDetails_swiperDotUnselectedfd1_0">
                            </view>
                        </template>
                    </view>
                </view>
            </view>

            <!---flex布局flex布局结束-->
            <!---flex布局flex布局开始-->
            <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout spDetails_flex_2">
                <text class='spDetails_fd2_0'>{{detail.name}}</text>
                <view class='flex flex-wrap align-center spDetails_fd2_1'>
                    <text class='spDetails_fd2_1_c0'>月销</text>
                    <text class='spDetails_fd2_1_c0'>{{detail.sales_sum}}</text>
                </view>
                <view class='flex flex-wrap align-center spDetails_fd2_1'>
                    <text class='spDetails_fd2_2_c0'>￥</text>
                    <text class='spDetails_fd2_2_c1'>{{detail.shop_price}}</text>
                    <text class='spDetails_fd2_2_c2'>¥</text>
                    <text class='spDetails_fd2_2_c3'>{{detail.market_price}}</text>
                    <text class='spDetails_fd2_2_c4'>打包费￥</text>
                    <text class='spDetails_fd2_1_c0'>{{detail.packing_price}}</text>
                    <text class='spDetails_fd2_1_c0'>/份</text>
					<view class="sais" v-if="detail.is_spec==0 && detail.cart_num > 0">
						<benben-flex-number-box class-name='flex flex align-center offer_fd1_0_c1 ' style="margin-right:0;" :dibled="true" input-class="spDetails_numberBoxInputfd4_1"
						v-model="detail.cart_num"  :min="0" :step="1" :opacity="0.3" @change="dangui">
						    <template #minus>
								<!-- <view class="spDetails_fd4_1_c1">-</view> -->
								<image class='spDetails_fd4_1_c0' mode="aspectFit" :src='STATIC_URL+"188.png"'></image>
						    </template>
						    <template #plus>
						        <image class='spDetails_fd4_1_c0' mode="aspectFit" :src='STATIC_URL+"126.png"'></image>
						    </template>
						</benben-flex-number-box>
					</view>
					
					 <image class='dpDetails_fd6_1_c0_c0_c0_c1_c2_c1' mode="aspectFit" :src='STATIC_URL+"126.png"' v-if="detail.is_spec==0 && detail.cart_num == 0" @tap="jiaru"></image>
					 <view class="" style="position: relative;margin-left: auto;" v-if=" detail.is_spec=='1'">
						 <button class='spDetails_fd2_2_c7' @tap.stop="popupShow1715676466347=true" >选规格</button>
						 <benben-message-num class='dpDetails_fd6_1_c0_c0_c0_c1_c2_c2_c1' :message-num="0" size='22' color='#fff' background-color='#FF8E21'>
						 </benben-message-num>
					 </view>
                    
                </view>
                <view class='flex flex-wrap align-center'>
                    <view class='flex flex-wrap align-center spDetails_fd2_3_c0' v-if=" detail.is_discount=='1'">
                        <image class='spDetails_fd2_3_c0_c0' mode="aspectFit" :src='STATIC_URL+"172.png"'></image>
                        <text class='spDetails_fd2_3_c0_c1'>{{detail.discount_ratio}}</text>
                        <text class='spDetails_fd2_3_c0_c1'>折</text>
                    </view>
                </view>
            </view>

            <!---flex布局flex布局结束-->
            <!---flex布局flex布局开始-->
            <view class="flex benben-flex-layout flex-wrap align-center spDetails_flex_3">
            </view>

            <!---flex布局flex布局结束-->
            <!---flex布局flex布局开始-->
            <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout spDetails_flex_4">
                <text class='spDetails_fd4_0'>商品详情</text>
                <jyf-parser class='spDetails_fd4_1' :html="detail.body | richTextFormat">
                </jyf-parser>
            </view>

            <!---flex布局flex布局结束-->
            <!---flex布局flex布局开始-->
            <view class="flex benben-flex-layout flex-wrap align-center spDetails_flex_5">
            </view>

            <!---flex布局flex布局结束-->
            <!---flex布局flex布局开始-->
            <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout">
                <view class='flex flex-wrap align-center spDetails_fd6_0'>
                    <text class='spDetails_fd6_0_c0'>评价</text>
                    <text class='spDetails_fd6_0_c1' v-if="list.corner_mark && list.corner_mark.total_num > 0">·{{list.corner_mark.total_num}}</text>
                    <text class='spDetails_fd6_0_c1' v-if="list.corner_mark && list.corner_mark.total_num > 0">条评论</text>
                    <view class='flex flex-wrap align-center spDetails_fd6_0_c3' @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/inSchool/allEvaluae/allEvaluae?aid=${aid}`">
                        <text class='spDetails_fd6_0_c3_c0'>查看全部</text>
                        <image class='spDetails_fd6_0_c3_c1' mode="aspectFit" :src='STATIC_URL+"38.png"'></image>
                    </view>
                </view>
                <benben-select-diy ref="showSelectPopup1715675818752" class-name='flex flex-wrap align-center flex spDetails_fd6_1' :items.sync="evaluateType"
				 v-model="evaluate_id" default-type="value" default-label="name" :allow-cancel='false' type="radio" :disabled='false' @change="getjf49d54300ce64Func">
                    <template v-for='(item,key0) in evaluateType'>
                        <view v-if="item.isSelected" class='flex align-center flex spDetails_fd6_1_c0' :key="key0" @tap="$refs.showSelectPopup1715675818752.tapHandle(key0)">
                            <text class='spDetails_fd6_1_c0_c0'>
								{{item.name}}
								<text v-if="item.value == 0 && list.corner_mark && list.corner_mark.total_num > 0">{{list.corner_mark.total_num}}</text>
								<text v-if="item.value == 1 && list.corner_mark && list.corner_mark.good_num > 0">{{list.corner_mark.good_num}}</text>
								<text v-if="item.value == 2 && list.corner_mark && list.corner_mark.picture_num > 0">{{list.corner_mark.picture_num}}</text>
								<text v-if="item.value == 3 && list.corner_mark && list.corner_mark.bad_num > 0">{{list.corner_mark.bad_num}}</text>
								<text v-if="item.value == 4 && list.corner_mark && list.corner_mark.medium_num > 0">{{list.corner_mark.medium_num }}</text>
							</text>
                        </view>
                        <view v-else class='flex align-center flex spDetails_fd6_1_c1' :key="key0" @tap="$refs.showSelectPopup1715675818752.tapHandle(key0)">
                            <text class='spDetails_fd6_1_c1_c0'>
							    {{item.name}}
							    <text v-if="item.value == 0 && list.corner_mark && list.corner_mark.total_num > 0">{{list.corner_mark.total_num}}</text>
							    <text v-if="item.value == 1 && list.corner_mark && list.corner_mark.good_num > 0">{{list.corner_mark.good_num}}</text>
							    <text v-if="item.value == 2 && list.corner_mark && list.corner_mark.picture_num > 0">{{list.corner_mark.picture_num}}</text>
							    <text v-if="item.value == 3 && list.corner_mark && list.corner_mark.bad_num > 0">{{list.corner_mark.bad_num}}</text>
							    <text v-if="item.value == 4 && list.corner_mark && list.corner_mark.medium_num > 0">{{list.corner_mark.medium_num }}</text>
							</text>
                        </view>
                    </template>
                </benben-select-diy>
				<view class="" v-if="list.list && list.list.data"> 
				<template v-for='(item,key0) in list.list.data'>
					<view class='flex flex-direction flex-wrap align-stretch spDetails_fd6_2'>
						<view class='flex flex-wrap align-center spDetails_fd6_2_c0'>
							<image class='spDetails_fd6_2_c0_c0' mode="aspectFill" :src='item.avatar'></image>
							<view class='flex flex-direction flex-wrap align-stretch flex-sub'>
								<view class='flex flex-wrap align-center spDetails_fd6_2_c0_c1_c0'>
									<text class='flex-sub spDetails_fd6_2_c0_c1_c0_c0'>{{item.nickname}}</text>
									<text class='spDetails_fd6_2_c0_c1_c0_c1'>{{item.create_time}}</text>
								</view>
								<view class='flex flex-wrap align-center'>
									<template v-for="starNum in [1,2,3,4,5]">
										<image v-if="item.store_score >= starNum" :key="starNum" class='spDetails_star1fd6_2_c0_c1_c1' mode="aspectFit" :src='STATIC_URL+"133.png"'></image>
										<image v-else :key="starNum" class='spDetails_star1fd6_2_c0_c1_c1' mode="aspectFit" :src='STATIC_URL+"134.png"'></image>
									</template>
								</view>
							</view>
						</view>
						<text class='spDetails_fd6_2_c1'>{{item.content}}</text>
						<view class='flex flex-wrap align-center spDetails_fd6_2_c2'>
							<template v-for='(itm,ky0) in item.thumb'>
							<view class='flex flex-wrap align-center spDetails_fd6_2_c2_c0' @tap.stop="multiImagePreview(itm,item.thumb,'')">
								<image class='spDetails_fd6_2_c2_c0_c0' mode="aspectFill" :src='itm'></image>
							</view>
							</template>
						</view>
						<view class='flex flex-wrap align-center spDetails_fd6_2_c3' v-if="item.reply_content">
							<view>
								<text class='spDetails_fd6_2_c3_c0_c0'>商家回复：</text>
								<text class='flex-sub spDetails_fd6_2_c3_c0_c0'>{{item.reply_content }}</text>
							</view>
						</view>
						<view class='flex flex-wrap align-center spDetails_fd6_2_c4'>
						</view>
					</view>
				</template>
				<view v-if="list.list.data.length == 0" class="text-xl text-center text-gray flex flex-direction align-center justify-center"
					style="margin-top: 20%;">
					<image :src='STATIC_URL+"137.png"' mode="widthFix" style="width:400rpx;"></image>
				</view>
				</view>
            </view>

            <!---flex布局flex布局结束--> 
            <benben-popup v-model="popupShow1715676466347" :mask="true" :mask-close-able="true" mode='center'>
                <!---flex布局flex布局开始-->
                <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout spDetails_flex_7">
                    <view class='flex flex-direction flex-wrap align-stretch spDetails_fd7_0'>
                        <view class='flex align-start spDetails_fd7_0_c0'>
                            <image class='spDetails_fd7_0_c0_c0' mode="aspectFill" :src='detail.thumb'></image>
							<view class="">
								<text class='flex-sub spDetails_fd7_0_c0_c1'>{{detail.name}}</text>
							</view>
                        </view>
						<template v-for='(item,key0) in detail.spec_list'>
							<text class='spDetails_fd7_0_c1'>{{item.name}}</text>
							<view class="flex yangsi">
								<benben-select-diy :ref="'showSelectPopup1715676553235' + item.id" class-name='flex flex-wrap align-center flex spDetails_fd8_0_c2' 
								:items.sync="item.item_list" v-model="item.ids" default-type="id" default-label="item" :allow-cancel='false' type="radio" :disabled='false'>
								    <template v-for='(itm,ky0) in item.item_list'>
								        <view v-if="item.ids == itm.id" @tap="xuazne(ky0,item.id)" class='yangshi yangshi_1'>{{itm.item}}</view>
								        <view v-else @tap="xuazne(ky0,item.id)" class='yangshi'>{{itm.item}}</view>
								    </template>
								</benben-select-diy>
							</view>
						</template>
                       
                        <view class='flex flex-wrap align-center spDetails_fd7_0_c5'>
                            <text class='spDetails_fd7_0_c5_c0'>已选择规格：</text>
                            <text class='spDetails_fd7_0_c5_c0'>{{sku.key_name}}</text>
                        </view>
						<view class="flex" style="padding: 32rpx 0 0 32rpx;">
							<view class="spDetails_fd7_0_c5_c0">数量:</view>
							<benben-flex-number-box class-name='flex flex align-center offer_fd1_0_c1'  :dibled="true" input-class="spDetails_numberBoxInputfd4_1"
							v-model="sku.number"  :min="1" :step="1" :opacity="0.3">
							    <template #minus>
									<!-- <view class="spDetails_fd4_1_c1">-</view> -->
									<image class='spDetails_fd4_1_c0' mode="aspectFit" :src='STATIC_URL+"188.png"'></image>
							    </template>
							    <template #plus>
							        <image class='spDetails_fd4_1_c0' mode="aspectFit" :src='STATIC_URL+"126.png"'></image>
							    </template>
							</benben-flex-number-box>
						</view>
                        <view class='flex flex-wrap align-center spDetails_fd7_0_c6'>
                            <view class='flex flex-direction flex-wrap align-stretch flex-sub spDetails_fd7_0_c6_c0'>
                                <view class='flex flex-wrap align-end'>
                                    <text class='spDetails_fd7_0_c6_c0_c0_c0'>售价</text>
                                    <text class='spDetails_fd7_0_c6_c0_c0_c1'>￥</text>
                                    <text class='spDetails_fd7_0_c6_c0_c0_c2'>{{sku.shop_price}}</text>
                                    <text class='spDetails_fd7_0_c6_c0_c0_c3'>￥</text>
                                    <text class='spDetails_fd7_0_c6_c0_c0_c4'>{{sku.market_price}}</text>
                                </view>
                                <!-- <view class='flex flex-wrap align-center spDetails_fd7_0_c6_c0_c1'>
                                    <view class='flex flex-wrap align-center spDetails_fd7_0_c6_c0_c1_c0'>
                                        <image class='spDetails_fd7_0_c6_c0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"172.png"'></image>
                                        <text class='spDetails_fd7_0_c6_c0_c1_c0_c1'>8.88</text>
                                        <text class='spDetails_fd7_0_c6_c0_c1_c0_c1'>折</text>
                                    </view>
                                </view> -->
                            </view>
                            <button class='spDetails_fd7_0_c6_c1' @tap.stop="post6466d3ed8bd23">加入购物车</button>
                        </view>
                    </view>
                    <view class='flex flex-wrap align-center justify-center spDetails_fd7_1'>
                        <image class='spDetails_fd7_1_c0' mode="aspectFit" :src='STATIC_URL+"42.png"' @tap.stop="popupShow1715676466347=false"></image>
                    </view>
                </view>
            </benben-popup>
            <view class="flex flex-direction flex-wrap align-center benben-position-layout flex spDetails_flex_8">
                <view class='flex flex-wrap align-stretch self-start justify-center spDetails_fd8_0' v-if="shopping.activity_str">
                    <text class='spDetails_fd8_0_c0'>{{shopping.activity_str}}</text>
                </view>
				<view class='flex flex-wrap align-stretch self-start justify-center spDetails_fd8_0x' v-else>
				    <text class='spDetails_fd8_0_c0'></text>
				</view>
                <view class='flex flex-wrap align-center spDetails_fd8_1'>
                    <view class='flex flex-wrap align-center spDetails_fd8_1_c0' @tap.stop="gouwuche()">
                        <view class='flex flex-wrap align-center spDetails_fd8_1_c0_c0'>
                            <image class='spDetails_fd8_1_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"127.png"'></image>
                            <benben-message-num class='spDetails_fd8_1_c0_c0_c1' v-if="shopping.all_cart_num" :message-num="shopping.all_cart_num" size='22' color='#fff' background-color='red'>
                            </benben-message-num>
                        </view>
                        <view class='flex flex-wrap align-center'>
                            <text class='spDetails_fd8_1_c0_c1_c0'>￥</text>
                            <text class='spDetails_fd8_1_c0_c1_c1'>{{shopping.total_money}}</text>
                            <text class='spDetails_fd8_1_c0_c1_c2' v-if="shopping.total_money > 0">￥</text>
							 <!--  -->
                            <text class='spDetails_fd8_1_c0_c1_c3' v-if="shopping.total_money > 0">{{shopping.total_market_price}}</text>
                        </view>
                    </view>
                    <view class='flex flex-wrap align-center justify-center spDetails_fd8_1_c1' v-if="shopping.open_status == 0" @tap.stop="qujiesuan">
                        <text class='spDetails_fd8_1_c1_c0'>去结算</text>
                    </view>
					<view class='flex flex-wrap align-center justify-center spDetails_fd8_1_c1' style="background: #999;" v-if="shopping.open_status == 1" >
					    <text class='spDetails_fd8_1_c1_c0'>去结算</text>
					</view>
                </view>

            </view>
            <view :style="{height: '200rpx'}"></view>
            <benben-popup v-model="popupShow1715676430587" :mask="true" :mask-close-able="true" mode='bottom'>
                <!---flex布局flex布局开始-->
                <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout spDetails_flex_9">
                    <view class='flex flex-wrap align-center spDetails_fd9_0'>
                        <text class='spDetails_fd9_0_c0'>购物车</text>
                        <text class='spDetails_fd9_0_c1'>打包费¥</text>
                        <text class='spDetails_fd9_0_c1'>{{shopping.packing_price_total || 0}}</text>
                        <text class='spDetails_fd9_0_c3' @tap.stop="post6466dc6cc6641">清空购物车</text>
                    </view>
					<view class="spDetails_fd9_01">
						<scroll-view class='spDetails_fd9_02' :scroll-y='true'>
							<view class='flex flex-direction align-stretch benben-scroll flex'>
								<template v-for='(item,key0) in shopping.list'>
									<view class='flex flex-wrap align-start spDetails_fd9_1'>
									    <image class='spDetails_fd9_1_c0' mode="aspectFill" :src='item.thumb'></image>
									    <view class='flex flex-direction flex-wrap align-stretch flex-sub spDetails_fd9_1_c1'>
									        <text class='spDetails_fd9_1_c1_c0'>{{item.goods_name}}</text>
											<view class="spDetails_fd9_1_c1_cx" v-if="item.sku_name">{{item.sku_name}}</view>
									        <view class='flex flex-wrap align-center'>
									            <view class='flex flex-direction flex-wrap align-stretch flex-sub spDetails_fd9_1_c1_c1_c0'>
									                <view class='flex align-center'>
									                    <text class='spDetails_fd9_1_c1_c1_c0_c0_c0'>￥</text>
									                    <text class='spDetails_fd9_1_c1_c1_c0_c0_c1'>{{item.shop_price}}</text>
									                    <text class='spDetails_fd9_1_c1_c1_c0_c0_c2'>¥</text>
									                    <text class='spDetails_fd9_1_c1_c1_c0_c0_c3'>{{item.market_price}}</text>
									                </view>
									                <!-- <view class='flex flex-wrap align-center spDetails_fd9_1_c1_c1_c0_c1'>
									                    <image class='spDetails_fd9_1_c1_c1_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"55.jpg"'></image>
									                    <text class='spDetails_fd9_1_c1_c1_c0_c1_c1'>8.88</text>
									                    <text class='spDetails_fd9_1_c1_c1_c0_c1_c1'>折</text>
									                </view> -->
									            </view>
									            <benben-flex-number-box class-name='flex flex align-center' 
												 input-class="spDetails_numberBoxInputfd9_1_c1_c1_c1" :itemId="item.aid" @change="guouw" v-model="item.num" :min="0" :step="1" :opacity="0.3">
													<template #minus>
														<!-- <view class="spDetails_fd4_1_c1">-</view> -->
														<image class='spDetails_fd4_1_c0' mode="aspectFit" :src='STATIC_URL+"188.png"'></image>
													</template>
													<template #plus>
													    <image class='spDetails_fd4_1_c0' mode="aspectFit" :src='STATIC_URL+"126.png"'></image>
													</template>
									
									            </benben-flex-number-box>
									
									        </view>
									    </view>
									</view>
								</template>
								
							</view>
						</scroll-view>
					</view>
                    <view class="flex flex-direction flex-wrap align-center  flex spDetails_flex_8">
                        <view class='flex flex-wrap align-stretch self-start justify-center spDetails_fd8_0' v-if="shopping.activity_str">
                            <text class='spDetails_fd8_0_c0'>{{shopping.activity_str}}</text>
                        </view>
						<view class='flex flex-wrap align-stretch self-start justify-center spDetails_fd8_0x' v-else>
						    <text class='spDetails_fd8_0_c0'></text>
						</view>
                        <view class='flex flex-wrap align-center spDetails_fd8_1'>
                            <view class='flex flex-wrap align-center spDetails_fd8_1_c0' @tap.stop="popupShow1715676430587=true">
                                <view class='flex flex-wrap align-center spDetails_fd8_1_c0_c0'>
                                    <image class='spDetails_fd8_1_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"127.png"'></image>
                                    <benben-message-num class='spDetails_fd8_1_c0_c0_c1' v-if="shopping.list" :message-num="shopping.list.length" size='22' color='#fff' background-color='red'>
                                    </benben-message-num>
                                </view>
                                <view class='flex flex-wrap align-center'>
                                    <text class='spDetails_fd8_1_c0_c1_c0'>￥</text>
                                    <text class='spDetails_fd8_1_c0_c1_c1'>{{shopping.total_goods_money}}</text>
                                    <text class='spDetails_fd8_1_c0_c1_c2' v-if="shopping.total_goods_money > 0">￥</text>
                                    <text class='spDetails_fd8_1_c0_c1_c3' v-if="shopping.total_goods_money > 0">{{shopping.total_market_price}}</text>
                                </view>
                            </view>
                            <view class='flex flex-wrap align-center justify-center spDetails_fd8_1_c1' v-if="shopping.open_status == 0" @tap.stop="qujiesuan">
                                <text class='spDetails_fd8_1_c1_c0'>去结算</text>
                            </view>
							<view class='flex flex-wrap align-center justify-center spDetails_fd8_1_c1' style="background: #999;" v-if="shopping.open_status == 1">
							    <text class='spDetails_fd8_1_c1_c0'>去结算</text>
							</view>
                        </view>
                    
                    </view>
                </view>

                <!---flex布局flex布局结束-->

            </benben-popup>


        </view>
    </page-body>
</template>
<script>
    import {
        validate
    } from '@/common/utils/validate.js'

    export default {
        components: {},


        data() {
            return {
                "popupShow1715676430587": false,
                "popupShow1715676466347": false,
                "fd6_2_c0_c1_c1": 2,
                "bannerIndexfd1_0": 0,
                "evaluateType": [{
                    "name": "全部",
                    "value": "0",
                    "image": ""
                }, {
                    "name": "好评",
                    "value": "1",
                    "image": ""
                }, {
                    "name": "有图",
                    "value": "2",
                    "image": ""
                }, {
                    "name": "差评",
                    "value": "3",
                    "image": ""
                }, {
                    "name": "中评",
                    "value": "4",
                    "image": ""
                }],
                "evaluate_id": "0",
                "otype": "1",
                "detail": {
                    "aid": "",
                    "uid": "",
                    "create_time": "",
                    "update_time": "",
                    "sort": "",
                    "is_del": "",
                    "status": "",
                    "create_id": "",
                    "row_lock": "",
                    "name": "",
                    "sn": "",
                    "click": "",
                    "stock": "",
                    "comment_count": "",
                    "market_price": "",
                    "shop_price": "",
                    "thumb_path": "",
                    "images_path": "",
                    "collect_count": "",
                    "is_sale": "",
                    "is_recommend": "",
                    "is_boutique": "",
                    "is_hot": "",
                    "goods_type": "",
                    "sales_sum": "",
                    "sales_num_new": "",
                    "is_spec": "",
                    "video": "",
                    "is_delete": "",
                    "spectypeid": "",
                    "stock_warning": "",
                    "video_img": "",
                    "goodscategory_id": "",
                    "packing_price": "",
                    "is_required": "",
                    "body": "",
                    "details_imags_path": [],
                    "c_id": ""
                },
                "list":'',
                "aid": "",
				sku:'',
				number:'',
				postType:false,
				sid:'',
				shopping:'',
            };
        },
        computed: {

        },
        watch: {},
        onLoad(options) {
            let {
                aid,sid
            } = options
            if (aid !== undefined) this.aid = aid
            if (sid !== undefined) this.sid = sid
        },
        onUnload() {

        },
        onReady() {

        },
        onShow() {
			this.postType=false
            this.getsx4635778f07b3Func()
            this.getjf49d54300ce64Func()
			this.post6466dcded3954()
        },
        onHide() {

        },
        onResize() {

        },
        onPullDownRefresh() {

        },
        onReachBottom(e) {

        },
        onPageScroll(e) {

        },
        methods: {
			qujiesuan(){
				if(this.shopping.list.length > 0){
					this.$urouter.navigateTo(`/pages/inSchool/settlement/settlement?aid=${this.sid}`);
				}else{
					this.$message.info('请先选择商品再进行下单');
				}
			},
			async dangui(num,aid,type){
				let res = await this.$api.post(global.apiUrls.post6466d3ed8bd23, {
				    userstore_id:this.detail.store_id,
				    goods_id:this.aid,
					type:type=='minus' ? '0' : 1,
					num:1,
				});
				if (res.data.code != 1) {
				    this.$message.info(res.data.msg);
				    return
				}
				this.post6466dcded3954()
				this.getsx4635778f07b3Func()
			},
			async jiaru(){
				if(this.postType){
					return
				}
				this.postType = true
				let res = await this.$api.get(global.apiUrls.post6466d3ed8bd23, {
					num:1,
					userstore_id:this.detail.store_id,
					goods_id:this.aid
				});
				this.$message.info(res.data.msg);
				if (res.data.code != 1) {
					this.postType = false
				    return
				}
				this.post6466dcded3954()
				this.getsx4635778f07b3Func()
			},
			qujiesua(){
				if(this.shopping.list.length > 0){
					this.popupShow1715676430587=true
				}else{
					this.$message.info('请选择商品');
				}
			},
			gouwuche(){
				if(this.shopping.list.length > 0){
					this.popupShow1715676430587=true
				}
			},
			async post6466dc6cc6641(){
				let aid = []
				for (var i = 0; i < this.shopping.list.length; i++) {
					aid.push(this.shopping.list[i].aid) 
				}
				let res = await this.$api.post(global.apiUrls.post6466dc6cc6641, {
				    userstore_id: this.sid,
					aid:aid.toString()
				});
				this.$message.info(res.data.msg);
				if (res.data.code != 1) {
				    return
				}
				
				this.popupShow1715676430587 = false
				this.post6466dcded3954()
				this.getsx4635778f07b3Func()
			},
			async guouw(num,aid,type){
				console.log(num,aid,type,123)
				// if(num >= 0){
					let res = await this.$api.post(global.apiUrls.post6466ea3373a29, {
					    aid: aid,
						type:type=='minus' ? '0' : 1,
						num:1,
					});
					if (res.data.code != 1) {
					    this.$message.info(res.data.msg);
					    return
					}
					this.post6466dcded3954()
					this.getsx4635778f07b3Func()
				// }
				
			},
			async post6466dcded3954(){
				let res = await this.$api.get(global.apiUrls.post6466dcded3954, {
				    userstore_id: this.sid
				});
				
				if (res.data.code != 1) {
				    this.$message.info(res.data.msg);
				    return
				}
				this.shopping = res.data.data
			},
			async post6466d3ed8bd23(){
				
				if(this.postType){
					return
				}
				
				this.postType = true
				this.popupShow1715676466347 = false
				let res = await this.$api.get(global.apiUrls.post6466d3ed8bd23, {
				    sku_id: this.sku.sku_id,
					num:this.sku.number,
					userstore_id:this.detail.store_id,
					goods_id:this.aid
				});
				this.$message.info(res.data.msg);
				if (res.data.code != 1) {
					this.postType = false
				    return
				}else{
					this.postType = false
					// return
				}
				this.post6466dcded3954()
				this.getsx4635778f07b3Func()
			},
			xuazne(key0,id){
				let refs =  'showSelectPopup1715676553235' + id
				// console.log(this.$refs['showSelectPopup1715676553235' + id],1111)
				this.$refs[refs][0].tapHandle(key0)
				this.guige()
			},
			// xuaze(item,index){
			// 	this.sku_id[index] = item.id
			// 	// this.sku_name[index] = item.item
			// 	console.log(this.sku_id[index],item.id,123)
			// },
            //获取商品详情
            async getsx4635778f07b3Func() {
                //请求方法
                //数据验证

                let datadetail = await this.$api.get(global.apiUrls.post6672579ca8378, {
                    id: this.aid
                });

                if (datadetail.data.code != 1) {
                    this.$message.info(datadetail.data.msg);
                    return
                }
                let infodetail = datadetail.data;
                this.detail = infodetail.data
				
				// let sku = this.detail.sku_list
				for (var i = 0; i < this.detail.sku_list.length; i++) {
					let keys = this.detail.sku_list[i].key
					keys = keys.split('_')
					keys = keys.sort(function(a,b){
					return a - b
				})
					this.detail.sku_list[i].keys = keys
				}
				for (var i = 0; i < this.detail.spec_list.length; i++) {
					this.detail.spec_list[i].ids = this.detail.spec_list[i].item_list[0].id
				}
				this.guige()
				// this.sku_name = this.sku_id
            },
			guige(){
				let name = []
				// for (var i = (this.detail.spec_list.length - 1); i >=0; i--) {
				// 	name.push(this.detail.spec_list[i].ids)
				// }
				for (var i = 0; i < this.detail.spec_list.length; i++) {
					name.push(this.detail.spec_list[i].ids)
				}
				name = name.sort(function(a,b){
					return a - b
				})
				// name = name.join("_")
				for (var i = 0; i < this.detail.sku_list.length; i++) {
					if(this.detail.sku_list[i].keys.toString() == name.toString()){
						this.sku = this.detail.sku_list[i]
					}
					// if(this.detail.sku_list[i].key == name){
					// 	this.sku = this.detail.sku_list[i]
					// }
				}
				
				// this.sku.number = this.detail.cart_num
				
				if(!this.sku.number){
					this.sku.number = 1
				}
				// console.log(name.join("_") ,123)
			},
            //用户端=>查询商品评价列表
            async getjf49d54300ce64Func() {
                //请求方法
                //数据验证

                let datalist = await this.$api.get(global.apiUrls.post649d54300ce64, {
                    aid: this.aid,
					type:this.evaluate_id
                });

                if (datalist.data.code != 1) {
                    this.$message.info(datalist.data.msg);
                    return
                }
                let infolist = datalist.data;
                this.list = infolist.data
				// console.log(this.list,11111111)
            }
        }
    };
</script>
<style lang="scss" scoped>
	.sais{
		margin:0 0 0 auto;
	}
    .page {
        width: 100vw;
        overflow-x: hidden;
        min-height: calc(100vh - var(--window-bottom));
        background: #fff;
        background-size: 100% auto;
    }

    .spDetails_flex_0 {
        width: 750rpx;
        height: 88rpx;
        overflow: hidden;
        z-index: 5;
        top: 0rpx;
    }

    .spDetails_fd0_0_c0_c0 {
        font-size: 32rpx;
        font-weight: 500;
        color: var(--benbenFontColor3);
    }

    .spDetails_fd0_0_c0 {
        width: 180rpx;
        height: 88rpx;
    }

    .spDetails_fd0_0 {
        padding: 0rpx 32rpx 0rpx 32rpx;
        height: 88rpx;
    }

    .spDetails_numberfd1_0_c0 {
        background: #525050;
        position: absolute;
        bottom: 20rpx;
        right: 30rpx;
        width: 80rpx;
        height: 40rpx;
        border-radius: 6rpx 6rpx 6rpx 6rpx;
        font-size: 24rpx;
        color: #FFFFFF;
        line-height: 46rpx;
        font-weight: 400;
    }

    .spDetails_fd1_0_c1_c0 {
        width: 750rpx;
        height: 750rpx;
        border-radius: 8rpx;
    }

    .spDetails_fd1_0 {
        width: 750rpx;
        height: 750rpx;
    }

    .spDetails_swiperDotUnselectedfd1_0 {
        background: var(--benbenbgColor1);
        width: 16rpx;
        height: 16rpx;
        border-radius: 100rpx 100rpx 100rpx 100rpx;
        margin: 0rpx 6rpx 0rpx 0rpx;
        font-size: 24rpx;
        color: #fff;
    }

    .spDetails_swiperDotSelectedfd1_0 {
        background: var(--benbenbgColor0);
        width: 16rpx;
        height: 16rpx;
        border-radius: 100rpx 100rpx 100rpx 100rpx;
        margin: 0rpx 6rpx 0rpx 0rpx;
        font-size: 24rpx;
        color: #fff;
    }

    ::v-deep .spDetails_swiperDotfd1_0 {
        position: absolute;
        bottom: 20rpx;
        left: 0rpx;
        right: 0rpx;
    }

    .spDetails_flex_2 {
        padding: 24rpx 32rpx 32rpx 32rpx;
    }

    .spDetails_fd2_3_c0_c1 {
        color: #FF8E21;
        font-size: 20rpx;
        font-weight: 500;
        line-height: 28rpx;
    }

    .spDetails_fd2_3_c0_c0 {
        width: 18rpx;
        height: 18rpx;
        margin: 0rpx 8rpx 0rpx 0rpx;
    }

    .spDetails_fd2_3_c0 {
        border: 1px solid var(--benbenbdColor2);
        border-radius: 4rpx;
        padding: 0rpx 16rpx 0rpx 16rpx;
        height: 28rpx;
    }

    .spDetails_fd2_2_c7 {
        background: #FF8E21;
        border-radius: 38rpx 38rpx 38rpx 38rpx;
        width: 198rpx;
        line-height: 76rpx;
        font-size: 24rpx;
        color: #fff;
        height: 76rpx;
        margin: 0rpx 0rpx 0rpx auto;
    }

    .spDetails_fd2_2_c4 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 500;
        line-height: 33rpx;
        margin: 0rpx 0rpx 0rpx 16rpx;
    }

    .spDetails_fd2_2_c3 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 500;
        line-height: 33rpx;
        text-decoration: line-through;
    }

    .spDetails_fd2_2_c2 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 500;
        line-height: 33rpx;
        text-decoration: line-through;
        margin: 0rpx 0rpx 0rpx 16rpx;
    }

    .spDetails_fd2_2_c1 {
        color: #FF8E21;
        font-size: 40rpx;
        font-weight: 700;
        line-height: 56rpx;
    }

    .spDetails_fd2_2_c0 {
        color: #FF8E21;
        font-size: 24rpx;
        font-weight: 700;
        line-height: 33rpx;
        margin: 4rpx 0rpx 0rpx 0rpx;
    }

    .spDetails_fd2_1_c0 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 500;
        line-height: 33rpx;
    }

    .spDetails_fd2_1 {
        margin: 0rpx 0rpx 16rpx 0rpx;
    }

    .spDetails_fd2_0 {
        color: #333333;
        font-size: 32rpx;
        font-weight: 700;
        line-height: 45rpx;
        margin: 0rpx 0rpx 8rpx 0rpx;
    }

    .spDetails_flex_3 {
        background: rgba(246, 247, 249, 1);
        height: 20rpx;
        background-size: 100% auto;
    }

    .spDetails_flex_4 {
        padding: 0rpx 0rpx 32rpx 0rpx;
    }

    ::v-deep .spDetails_fd4_1 {
        width: calc(100% -64rpx) ;
    }

    .spDetails_fd4_0 {
        margin: 32rpx 32rpx 10rpx 32rpx;
        color: #333333;
        font-size: 32rpx;
        font-weight: 500;
        line-height: 45rpx;
    }

    .spDetails_flex_5 {
        background: rgba(246, 247, 249, 1);
        height: 20rpx;
        background-size: 100% auto;
    }

    .spDetails_fd6_2_c4 {
        background: rgba(238, 238, 238, 1);
        width: 686rpx;
        background-size: 100% auto;
        margin: 8rpx 32rpx 0rpx 32rpx;
        height: 1rpx;
    }

    .spDetails_fd6_2_c3_c0_c0 {
        color: #666666;
        font-size: 24rpx;
        font-weight: 500;
        line-height: 33rpx;
    }

    .spDetails_fd6_2_c3 {
        background: rgba(246, 247, 249, 1);
        margin: 0rpx 32rpx 24rpx 32rpx;
        background-size: 100% auto;
        border-radius: 8rpx;
        padding: 24rpx 24rpx 24rpx 24rpx;
    }

    .spDetails_fd6_2_c2_c0_c0 {
        width: 226rpx;
        height: 226rpx;
        border-radius: 8rpx;
    }

    .spDetails_fd6_2_c2_c0 {
        margin: 0rpx 2rpx 24rpx 2rpx;
    }

    .spDetails_fd6_2_c2 {
        padding: 0rpx 30rpx 0rpx 30rpx;
    }

    .spDetails_fd6_2_c1 {
        margin: 0rpx 32rpx 24rpx 32rpx;
        color: #333333;
        font-size: 28rpx;
        font-weight: 500;
        line-height: 40rpx;
    }

    .spDetails_star1fd6_2_c0_c1_c1 {
        height: 18rpx;
        margin: 0rpx 4rpx 0rpx 0rpx;
        width: 18rpx;
    }

    .spDetails_star1fd6_2_c0_c1_c1 {
        width: 18rpx;
        height: 18rpx;
        margin: 0rpx 4rpx 0rpx 0rpx;
    }

    .spDetails_fd6_2_c0_c1_c0_c1 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 400;
        line-height: 33rpx;
    }

    .spDetails_fd6_2_c0_c1_c0_c0 {
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        margin: 0rpx 20rpx 0rpx 0rpx;
        color: #333333;
        font-size: 28rpx;
        font-weight: 400;
        line-height: 40rpx;
    }

    .spDetails_fd6_2_c0_c1_c0 {
        margin: 0rpx 0rpx 8rpx 0rpx;
    }

    .spDetails_fd6_2_c0_c0 {
        width: 56rpx;
        height: 56rpx;
        border-radius: 28rpx;
        margin: 0rpx 16rpx 0rpx 0rpx;
    }

    .spDetails_fd6_2_c0 {
        margin: 0rpx 32rpx 24rpx 32rpx;
    }

    .spDetails_fd6_2 {
        margin: 0rpx 0rpx 32rpx 0rpx;
    }

    .spDetails_fd6_1_c1_c0 {
        color: var(--benbenFontColor0);
        font-size: 28rpx;
        font-weight: 400;
        line-height: 40rpx;
    }

    .spDetails_fd6_1_c1 {
        background: rgba(246, 247, 249, 1);
        margin: 0rpx 10rpx 24rpx 10rpx;
        background-size: 100% auto;
        border-radius: 28rpx;
        padding: 0rpx 24rpx 0rpx 24rpx;
        height: 56rpx;
    }

    .spDetails_fd6_1_c0_c0 {
        color: #FF8E21;
        font-size: 28rpx;
        font-weight: 400;
        line-height: 40rpx;
    }

    .spDetails_fd6_1_c0 {
        border: 1px solid var(--benbenbdColor2);
        background: rgba(255, 240, 240, 1);
        margin: 0rpx 10rpx 24rpx 10rpx;
        padding: 0rpx 24rpx 0rpx 24rpx;
        background-size: 100% auto;
        border-radius: 28rpx;
        height: 56rpx;
    }

    ::v-deep .spDetails_fd6_1 {
        padding: 0rpx 22rpx 8rpx 22rpx;
    }

    .spDetails_fd6_0_c3_c1 {
        width: 10rpx;
        height: 18rpx;
        margin: 0rpx 0rpx 0rpx 8rpx;
    }

    .spDetails_fd6_0_c3_c0 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 500;
        line-height: 33rpx;
    }

    .spDetails_fd6_0_c3 {
        margin: 0rpx 0rpx 0rpx auto;
    }

    .spDetails_fd6_0_c1 {
        color: #999999;
        font-size: 32rpx;
        font-weight: 500;
        line-height: 45rpx;
    }

    .spDetails_fd6_0_c0 {
        color: var(--benbenFontColor0);
        font-size: 32rpx;
        font-weight: 500;
        line-height: 45rpx;
    }

    .spDetails_fd6_0 {
        margin: 32rpx 32rpx 24rpx 32rpx;
    }

    .spDetails_flex_7 {
        width: 670rpx;
    }

    .spDetails_fd7_1_c0 {
        width: 56rpx;
        height: 56rpx;
    }

    .spDetails_fd7_1 {
        margin: 40rpx 0rpx 0rpx 0rpx;
    }

    .spDetails_fd7_0_c6_c1 {
        background: #FF8E21;
        border-radius: 38rpx 38rpx 38rpx 38rpx;
        width: 198rpx;
        line-height: 76rpx;
        font-size: 28rpx;
        color: #fff;
        height: 76rpx;
    }

    .spDetails_fd7_0_c6_c0_c1_c0_c1 {
        color: #FF8E21;
        font-size: 20rpx;
        font-weight: 500;
        line-height: 28rpx;
    }

    .spDetails_fd7_0_c6_c0_c1_c0_c0 {
        width: 18rpx;
        height: 18rpx;
        margin: 0rpx 8rpx 0rpx 0rpx;
    }

    .spDetails_fd7_0_c6_c0_c1_c0 {
        border: 1px solid var(--benbenbdColor2);
        background: var(--benbenbgColor1);
        padding: 0rpx 16rpx 0rpx 16rpx;
        background-size: 100% auto;
        border-radius: 4rpx;
        height: 28rpx;
    }

    .spDetails_fd7_0_c6_c0_c1 {
        margin: 16rpx 0rpx 0rpx 0rpx;
    }

    .spDetails_fd7_0_c6_c0_c0_c4 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 500;
        line-height: 33rpx;
        text-decoration: line-through;
    }

    .spDetails_fd7_0_c6_c0_c0_c3 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 500;
        line-height: 33rpx;
        margin: 0rpx 0rpx 0rpx 8rpx;
        text-decoration: line-through;
    }

    .spDetails_fd7_0_c6_c0_c0_c2 {
        color: #FF8E21;
        font-size: 40rpx;
        font-weight: 700;
        line-height: 45rpx;
    }

    .spDetails_fd7_0_c6_c0_c0_c1 {
        color: #FF8E21;
        font-size: 28rpx;
        font-weight: 500;
        line-height: 40rpx;
        margin: 0rpx 0rpx 0rpx 16rpx;
    }

    .spDetails_fd7_0_c6_c0_c0_c0 {
        color: #333333;
        font-size: 28rpx;
        font-weight: 700;
        line-height: 40rpx;
        text-align: left;
        font-style: normal;
    }

    .spDetails_fd7_0_c6_c0 {
        margin: 0rpx 24rpx 0rpx 0rpx;
    }

    .spDetails_fd7_0_c6 {
        margin: 24rpx 32rpx 32rpx 32rpx;
    }

    .spDetails_fd7_0_c5_c0 {
        color: #666666;
        font-size: 24rpx;
        font-weight: 400;
        line-height: 33rpx;
    }

    .spDetails_fd7_0_c5 {
        background: rgba(246, 247, 249, 1);
        padding: 14rpx 32rpx 14rpx 32rpx;
        background-size: 100% auto;
        margin: 24rpx 0rpx 0rpx 0rpx;
    }

    .spDetails_fd7_0_c3 {
        margin: 8rpx 32rpx 24rpx 32rpx;
        color: #999999;
        font-size: 28rpx;
        font-weight: 400;
        line-height: 40rpx;
    }

    .spDetails_fd7_0_c2_c1_c0 {
        color: rgba(102, 102, 102, 1);
        font-size: 24rpx;
        font-weight: 400;
        line-height: 33rpx;
    }

    .spDetails_fd7_0_c2_c1 {
        border: 1px solid rgba(204, 204, 204, 1);
        background: var(--benbenbgColor1);
        margin: 0rpx 5rpx 24rpx 5rpx;
        padding: 0rpx 72rpx 0rpx 72rpx;
        height: 64rpx;
        background-size: 100% auto;
        border-radius: 8rpx;
    }

    .spDetails_fd7_0_c2_c0_c0 {
        color: #FF8E21;
        font-size: 24rpx;
        font-weight: 400;
        line-height: 33rpx;
    }

    .spDetails_fd7_0_c2_c0 {
        border: 1px solid var(--benbenbdColor2);
        background: rgba(255, 82, 55, 0.06);
        margin: 0rpx 5rpx 24rpx 5rpx;
        background-size: 100% auto;
        border-radius: 8rpx;
        padding: 0rpx 72rpx 0rpx 72rpx;
        height: 64rpx;
    }

    ::v-deep .spDetails_fd7_0_c2 {
        padding: 0rpx 25rpx 0rpx 25rpx;
    }

    .spDetails_fd7_0_c1 {
        margin: 24rpx 32rpx 24rpx 32rpx;
        color: #999999;
        font-size: 28rpx;
        font-weight: 400;
        line-height: 40rpx;
    }

    .spDetails_fd7_0_c0_c1 {
        color: #333333;
        font-size: 32rpx;
        font-weight: 400;
        line-height: 45rpx;
        -webkit-line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .spDetails_fd7_0_c0_c0 {
        width: 160rpx;
        height: 160rpx;
        border-radius: 16rpx;
        margin: 0rpx 24rpx 0rpx 0rpx;
    }

    .spDetails_fd7_0_c0 {
        margin: 32rpx 32rpx 0rpx 32rpx;
    }

    .spDetails_fd7_0 {
        background: var(--benbenbgColor1);
        background-size: 100% auto;
        border-radius: 16rpx;
    }

    .spDetails_flex_8 {
        background: var(--benbenbgColor1);
        width: 750rpx;
        height: 200rpx;
        overflow: hidden;
        z-index: 10;
        bottom: calc(0rpx + var(--window-bottom));
        background-size: 100% auto;
    }
	.spDetails_flex_80 {
	    background: var(--benbenbgColor1);
	    width: 750rpx;
	    height: 200rpx;
	    overflow: hidden;
	    z-index: 10;
	    bottom: calc(0rpx + var(--window-bottom));
	    background-size: 100% auto;
	}

    .spDetails_fd8_1_c1_c0 {
        color: #FFFFFF;
        font-size: 28rpx;
        font-weight: 500;
        line-height: 40rpx;
    }

    .spDetails_fd8_1_c1 {
        background: #FF8E21;
        border-radius: 0rpx 50rpx 50rpx 0rpx;
        width: 206rpx;
        height: 100rpx;
    }

    .spDetails_fd8_1_c0_c1_c3 {
        color: #CCCCCC;
        font-size: 22rpx;
        font-weight: 500;
        line-height: 30rpx;
        text-decoration: line-through;
    }

    .spDetails_fd8_1_c0_c1_c2 {
        color: #CCCCCC;
        font-size: 22rpx;
        font-weight: 500;
        line-height: 30rpx;
        margin: 0rpx 0rpx 0rpx 16rpx;
        text-decoration: line-through;
    }

    .spDetails_fd8_1_c0_c1_c1 {
        color: #FFFFFF;
        font-size: 32rpx;
        font-weight: 700;
        line-height: 45rpx;
    }

    .spDetails_fd8_1_c0_c1_c0 {
        color: #FFFFFF;
        font-size: 24rpx;
        font-weight: 700;
        line-height: 45rpx;
    }

    .spDetails_fd8_1_c0_c0_c1 {
        position: absolute;
        right: -12rpx;
        top: -10rpx;
    }

    .spDetails_fd8_1_c0_c0_c0 {
        width: 44rpx;
        height: 44rpx;
    }

    .spDetails_fd8_1_c0_c0 {
        margin: 0rpx 24rpx 0rpx 0rpx;
        position: relative;
    }

    .spDetails_fd8_1_c0 {
        background: rgba(85, 85, 85, 1);
        width: 480rpx;
        border-radius: 50rpx 0rpx 0rpx 50rpx;
        background-size: 100% auto;
        height: 100rpx;
        padding: 0rpx 0rpx 0rpx 40rpx;
    }

    .spDetails_fd8_1 {
        margin: -40rpx 0rpx 0rpx 0rpx;
    }

    .spDetails_fd8_0_c0 {
        color: #FF8E21;
        font-size: 22rpx;
        font-weight: 500;
        line-height: 30rpx;
        margin: 16rpx 0rpx 0rpx 0rpx;
    }

    .spDetails_fd8_0 {
        background: #FFF3F3;
        border-radius: 16rpx 16rpx 0rpx 0rpx;
        width: 686rpx;
        height: 103rpx;
        margin: 0rpx 0rpx 0rpx 32rpx;
    }
	.spDetails_fd8_0x {
	    // background: rgba(102, 102, 102, 0);
	    border-radius: 16rpx 16rpx 0rpx 0rpx;
	    width: 686rpx;
	    height: 103rpx;
	    margin: 0rpx 0rpx 0rpx 32rpx;
	}

    

   

    
	.dpDetails_fd6_1_c0_c0_c0_c1_c2_c1 {
	    width: 36rpx;
	    height: 36rpx;
	    margin: 0rpx 0rpx 0rpx auto;
	}
	.dpDetails_fd6_1_c0_c0_c0_c1_c2_c2_c1 {
	    position: absolute;
	    right: -9rpx;
	    top: -8rpx;
	}
	.yangsi{
		padding: 0 0 0 32rpx;
	}
	.yangshi{
		border-radius: 8px 8px 8px 8px;
		border: 1px solid #CCCCCC;
		padding: 12rpx 24rpx;
		font-weight: 400;
		font-size: 24rpx;
		color: #666666;
		margin: 0 15rpx 15rpx 0;
	}
	.yangshi_1{
		background: rgba(255,82,55,0.06);
		border-radius: 8px 8px 8px 8px;
		border: 1px solid #FF8E21;
		color: #FF8E21;
	}
	
	
	::v-deep .offer_fd1_0_c1 {
		margin: 0rpx 0rpx 0rpx auto;
		width: 150rpx;
	}
	// 购物车信息
	.spDetails_fd4_1_c0 {
	    height: 36rpx;
	    margin: 0rpx 14rpx 0rpx 14rpx;
	    width: 36rpx;
	}
	.spDetails_fd4_1_c1 {
	    height: 36rpx;
	    margin: 0rpx 14rpx 0rpx 14rpx;
	    width: 36rpx;
		text-align: center;
		line-height: 28rpx;
		border-radius: 36rpx;
		border: 1px solid #FF8E21;
		color: #FF8E21;
		font-size: 50rpx;
	}
	.spDetails_fd9_01{
		height: 500rpx;
	}
	.spDetails_fd9_02{
		width: 100%;
		height: 100%;
	}
	.spDetails_flex_9 {
	    background: var(--benbenbgColor1);
	    background-size: 100% auto;
	    border-radius: 24rpx 24rpx 0rpx 0rpx;
	    // padding: 0rpx 32rpx 0rpx 32rpx;
	}
	.spDetails_fd9_0_c3 {
	    color: #666666;
	    font-size: 28rpx;
	    font-weight: 500;
	    line-height: 40rpx;
	    margin: 0rpx 0rpx 0rpx auto;
	}
	
	.spDetails_fd9_0_c1 {
	    color: #999999;
	    font-size: 28rpx;
	    font-weight: 500;
	    line-height: 40rpx;
	}
	
	.spDetails_fd9_0_c0 {
	    color: #333333;
	    font-size: 36rpx;
	    font-weight: 700;
	    line-height: 50rpx;
	    margin: 0rpx 16rpx 0rpx 0rpx;
	}
	
	.spDetails_fd9_0 {
	    margin: 40rpx 0rpx 0rpx 0rpx;
		padding:0 32rpx;
		box-sizing: border-box;
	}
	.spDetails_fd9_1_c1_c1_c1_c0 {
	    height: 36rpx;
	    width: 36rpx;
	}
	
	::v-deep .spDetails_numberBoxInputfd9_1_c1_c1_c1 {
	    background: var(--benbenbgColor1);
	    width: 46rpx;
	    color: var(--benbenFontColor0);
	    font-size: 28rpx;
	    text-align: center;
	}
	
	.spDetails_fd9_1_c1_c1_c0_c1_c1 {
	    color: #FF8E21;
	    font-size: 20rpx;
	    font-weight: 500;
	    line-height: 28rpx;
	}
	
	.spDetails_fd9_1_c1_c1_c0_c1_c0 {
	    width: 18rpx;
	    height: 18rpx;
	    margin: 0rpx 8rpx 0rpx 0rpx;
	}
	
	.spDetails_fd9_1_c1_c1_c0_c1 {
	    margin: 8rpx 0rpx 0rpx 0rpx;
	}
	
	.spDetails_fd9_1_c1_c1_c0_c0_c3 {
	    color: #999999;
	    font-size: 22rpx;
	    font-weight: 500;
	    line-height: 30rpx;
	    text-decoration: line-through;
	    margin: 0rpx 0rpx 0rpx 0rpx;
	}
	
	.spDetails_fd9_1_c1_c1_c0_c0_c2 {
	    color: #999999;
	    font-size: 22rpx;
	    font-weight: 500;
	    line-height: 30rpx;
	    text-decoration: line-through;
	    margin: 0rpx 0rpx 0rpx 16rpx;
	}
	
	.spDetails_fd9_1_c1_c1_c0_c0_c1 {
	    color: #FF8E21;
	    font-size: 28rpx;
	    font-weight: 700;
	    line-height: 40rpx;
	}
	
	.spDetails_fd9_1_c1_c1_c0_c0_c0 {
	    color: #FF8E21;
	    font-size: 22rpx;
	    font-weight: 700;
	    line-height: 33rpx;
	    margin: 2rpx 0rpx 0rpx 0rpx;
	}
	
	.spDetails_fd9_1_c1_c1_c0 {
	    margin: 0rpx 20rpx 0rpx 0rpx;
	}
	
	.spDetails_fd9_1_c1_c0 {
	    color: #333333;
	    font-size: 32rpx;
	    font-weight: 500;
	    line-height: 45rpx;
	    text-align: left;
	    -webkit-line-clamp: 2;
	    overflow: hidden;
	    text-overflow: ellipsis;
	    display: -webkit-box;
	    -webkit-box-orient: vertical;
	    margin: 0rpx 0rpx 8rpx 0rpx;
	}
	
	.spDetails_fd9_1_c1 {
	    border-bottom: 1px solid #eee;
	    padding: 0rpx 0rpx 32rpx 0rpx;
		box-sizing: border-box;
		width: 50%;
		min-height: 184rpx;
	}
	
	.spDetails_fd9_1_c0 {
	    width: 168rpx;
	    height: 168rpx;
	    border-radius: 16rpx;
	    margin: 0rpx 16rpx 0rpx 0rpx;
	}
	
	.spDetails_fd9_1 {
	    margin: 32rpx 32rpx 32rpx 32rpx;
	    // padding: 32rpx 0rpx 0rpx 0rpx;
	}
	.spDetails_fd9_1_c1_cx{
		color: #333333;
		font-size: 24rpx;
		font-weight: 500;
		line-height: 45rpx;
		text-align: left;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		margin: 0rpx 0rpx 8rpx 0rpx;
	}
	.spDetails_fd4_1{
		margin: 0 32rpx;
	}
</style>